/* 预约须知页面样式 */
.container {
  min-height: 100vh;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}

/* 顶部导航栏 */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background-color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.backButton {
  background: none;
  border: none;
  font-size: 18px;
  color: #333;
  cursor: pointer;
  padding: 8px;
}

.backButton:hover {
  background-color: #f0f0f0;
}

.header h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  flex: 1;
  text-align: center;
}

.headerIcons {
  display: flex;
  gap: 12px;
}

.icon {
  font-size: 16px;
  color: #666;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.icon:hover {
  background-color: #f0f0f0;
}

/* 内容区域 */
.content {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  padding-bottom: 80px; /* 为底部按钮留出空间 */
}

.instructions {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
}

.section {
  margin-bottom: 24px;
}

.section:last-child {
  margin-bottom: 0;
}

.section h2 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0 0 12px 0;
  line-height: 1.4;
}

.section p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0 0 8px 0;
}

.section p:last-child {
  margin-bottom: 0;
}

.subsection {
  margin-bottom: 16px;
}

.subsection:last-child {
  margin-bottom: 0;
}

.subsection h3 {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin: 0 0 8px 0;
}

.subItem {
  margin-bottom: 12px;
  padding-left: 8px;
}

.subItem:last-child {
  margin-bottom: 0;
}

.subItem p {
  margin: 0 0 4px 0;
}

.subItem p:last-child {
  margin-bottom: 0;
}

.subItem strong {
  color: #333;
  font-weight: 600;
}

/* 底部确认按钮 */
.bottomButton {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  padding: 16px;
  border-top: 1px solid #e0e0e0;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
  z-index: 100;
}

.agreeButton {
  width: 100%;
  background: #2196F3;
  color: white;
  border: none;
  padding: 16px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(33, 150, 243, 0.3);
}

.agreeButton:hover {
  background: #1976D2;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.4);
}

.agreeButton:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(33, 150, 243, 0.3);
}

/* 响应式设计 */
@media (max-width: 375px) {
  .header {
    padding: 10px 12px;
  }
  
  .header h1 {
    font-size: 16px;
  }
  
  .content {
    padding: 12px;
  }
  
  .instructions {
    padding: 16px;
  }
  
  .section h2 {
    font-size: 15px;
  }
  
  .section p {
    font-size: 13px;
  }
  
  .subsection h3 {
    font-size: 13px;
  }
  
  .agreeButton {
    padding: 14px;
    font-size: 15px;
  }
}

@media (max-width: 320px) {
  .header {
    padding: 8px 10px;
  }
  
  .content {
    padding: 10px;
  }
  
  .instructions {
    padding: 12px;
  }
  
  .section h2 {
    font-size: 14px;
  }
  
  .section p {
    font-size: 12px;
  }
  
  .subsection h3 {
    font-size: 12px;
  }
}
